PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


GetThemeMenuSeparatorHeight

Obtains the height of a menu separator line.

pascal OSStatus GetThemeMenuSeparatorHeight (SInt16 *outHeight);
outHeight
A pointer to a signed 16-bit integer. On return, the integer value represents the height (in pixels) of the menu separator line.
function result
A result code; see Result Codes .
DISCUSSION

The GetThemeMenuSeparatorHeight function obtains the height of a menu separator line under the current theme. Your application should call the GetThemeMenuSeparatorHeight function when you are writing your own menu definition function and wish to calculate a menu rectangle for a separator to match the current theme.

VERSION NOTES

Available with Appearance Manager 1.0.1 and later.


© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)